package com.kx.yooli.kx.wechat.po.message;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Date;

/**
 * @author john_sqwen-childe.wen
 * date 2024/4/8
 * PROJECT_NAME wechat
 * description create WechatUserBinding by john_sqwen
 * and  value is
 */
public class WechatUserBinding {
    private final Logger log = LoggerFactory.getLogger(WechatUserBinding.class);
    /**
     *  主键（自增）,所属表字段为wechat_user_binding.id
     */
    private Integer id;

    /**
     *  用户微信号,所属表字段为wechat_user_binding.openid
     */
    private String openid;

    /**
     *  身份证号,所属表字段为wechat_user_binding.idcard
     */
    private String idcard;

    /**
     *  手机号,所属表字段为wechat_user_binding.phone
     */
    private String phone;

    /**
     *  0:未绑定；1：已绑定,所属表字段为wechat_user_binding.user_status
     */
    private Integer userStatus;

    /**
     *  创建时间,所属表字段为wechat_user_binding.create_time
     */
    private Date createTime;

    /**
     *  修改时间,所属表字段为wechat_user_binding.modify_time
     */
    private Date modifyTime;

    /**
     *  构造查询条件,wechat_user_binding
     */
    public WechatUserBinding(Integer id, String openid, String idcard, String phone, Integer userStatus, Date createTime, Date modifyTime) {
        this.id = id;
        this.openid = openid;
        this.idcard = idcard;
        this.phone = phone;
        this.userStatus = userStatus;
        this.createTime = createTime;
        this.modifyTime = modifyTime;
    }

    /**
     *  构造查询条件,wechat_user_binding
     */
    public WechatUserBinding() {
        super();
    }

    /**
     * 获取 主键（自增） 字段:wechat_user_binding.id
     *
     * @return wechat_user_binding.id, 主键（自增）
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置 主键（自增） 字段:wechat_user_binding.id
     *
     * @param id wechat_user_binding.id, 主键（自增）
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取 用户微信号 字段:wechat_user_binding.openid
     *
     * @return wechat_user_binding.openid, 用户微信号
     */
    public String getOpenid() {
        return openid;
    }

    /**
     * 设置 用户微信号 字段:wechat_user_binding.openid
     *
     * @param openid wechat_user_binding.openid, 用户微信号
     */
    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    /**
     * 获取 身份证号 字段:wechat_user_binding.idcard
     *
     * @return wechat_user_binding.idcard, 身份证号
     */
    public String getIdcard() {
        return idcard;
    }

    /**
     * 设置 身份证号 字段:wechat_user_binding.idcard
     *
     * @param idcard wechat_user_binding.idcard, 身份证号
     */
    public void setIdcard(String idcard) {
        this.idcard = idcard == null ? null : idcard.trim();
    }

    /**
     * 获取 手机号 字段:wechat_user_binding.phone
     *
     * @return wechat_user_binding.phone, 手机号
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置 手机号 字段:wechat_user_binding.phone
     *
     * @param phone wechat_user_binding.phone, 手机号
     */
    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    /**
     * 获取 0:未绑定；1：已绑定 字段:wechat_user_binding.user_status
     *
     * @return wechat_user_binding.user_status, 0:未绑定；1：已绑定
     */
    public Integer getUserStatus() {
        return userStatus;
    }

    /**
     * 设置 0:未绑定；1：已绑定 字段:wechat_user_binding.user_status
     *
     * @param userStatus wechat_user_binding.user_status, 0:未绑定；1：已绑定
     */
    public void setUserStatus(Integer userStatus) {
        this.userStatus = userStatus;
    }

    /**
     * 获取 创建时间 字段:wechat_user_binding.create_time
     *
     * @return wechat_user_binding.create_time, 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置 创建时间 字段:wechat_user_binding.create_time
     *
     * @param createTime wechat_user_binding.create_time, 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取 修改时间 字段:wechat_user_binding.modify_time
     *
     * @return wechat_user_binding.modify_time, 修改时间
     */
    public Date getModifyTime() {
        return modifyTime;
    }

    /**
     * 设置 修改时间 字段:wechat_user_binding.modify_time
     *
     * @param modifyTime wechat_user_binding.modify_time, 修改时间
     */
    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
}
